<script>
  let ENV = process.env.NODE_ENV
  var a = window.location.host
  let BASE_URL

  if (ENV === "development") {
   // BASE_URL = 'http://10.10.10.134:8081'//定义全局接口地址
   BASE_URL = 'http://10.10.10.21:8081'//定义全局接口地址
    // BASE_URL = 'http://115.239.175.246:3010/xcDqCapitalAdmin'//定义全局接口地址
    // BASE_URL = 'http://192.168.1.104:8787/xcDqCapitalAdmin'//定义全局接口地址
    //  BASE_URL = 'http://115.239.175.246:3010/xcDqCapitalAdmin'//定义全局接口地址
  } else {
    // BASE_URL = 'http://115.239.175.246:3010/xcDqCapitalAdmin'//定义全局接口地址
  BASE_URL = 'http://10.10.10.21:8081'//动态接口地址
  }
  export default {   //将常量暴露出去
    BASE_URL
  }
</script>

